derivative of logarithmic functions